<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles"
	prefix="tiles"%>

<rich:panel header="#{messages['dependant.info']}">
	<h:panelGrid>
		<h:outputText value="#{errorBean.errorMessage}" styleClass="error"></h:outputText>
	</h:panelGrid>

	<h:panelGrid width="100%">
		<h:outputText value="#{messages['dependant.info']}"
			styleClass="sub_header" />
		<h:panelGroup>
			<h:outputText value="*" styleClass="standardText_Mandatory" />
			<h:outputText value="#{messages['instruction']}"
				styleClass="standardText_Instruction" />
		</h:panelGroup>
	</h:panelGrid>

	<t:panelGrid columns="2" columnClasses="standardTable_ColumnLeft_20,standardTable_ColumnLeft_80" width="100%">

		<h:outputText></h:outputText>
		<t:message for="salutation" styleClass="error"></t:message>

		<h:panelGroup>
			<h:outputLabel for="salutation" value="#{messages['salutation']}"
				styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:selectOneMenu id="salutation" styleClass="standardText"
				value="#{adminMemberIndProfileBean.deSaluationId}">
				<f:selectItem itemLabel="#{messages['please.select']}"
					itemValue="" />
				<f:selectItems value="#{adminMemberIndProfileBean.salutationSelectList}" />
			</t:selectOneMenu>
		</h:panelGroup>

		<h:outputText></h:outputText>
		<t:message for="name" styleClass="error"></t:message>

		<h:panelGroup>
			<h:outputText value="*" styleClass="standardText_Mandatory" />
			<h:outputLabel for="name" value="#{messages['name']}"
				styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:inputText id="name" required="true" size="50" maxlength="50"
				styleClass="standardText" onchange="this.value=convertText(this.value);"
				value="#{adminMemberIndProfileBean.memberIndAcct.name}"></t:inputText>
		</h:panelGroup>
		
		<h:outputText></h:outputText>
		<t:message for="email" styleClass="error"></t:message>
		
	   <h:panelGroup>
	   	<h:outputText value="*" styleClass="standardText_Mandatory" />	
	    <h:outputLabel for="email" value="#{messages['email']}" styleClass="standardText_Label" />
	   </h:panelGroup>
	   <h:panelGroup>
	   	<t:inputText id="email" required="true" size="50" maxlength="50" styleClass="standardText" value="#{adminMemberIndProfileBean.memberIndAcct.email}">
	   		<t:validateEmail></t:validateEmail>
	   	</t:inputText>
	   </h:panelGroup>

	</t:panelGrid>

	<h:panelGrid width="100%">
		<h:outputText value="#{messages['personal.info']}"
			styleClass="sub_header" />
	</h:panelGrid>

	<t:panelGrid columns="2" columnClasses="standardTable_ColumnLeft_20,standardTable_ColumnLeft_80" width="100%">
		<h:outputText></h:outputText>
		<t:message for="dateofbirth" styleClass="error"></t:message>

		<h:panelGroup>
			<h:outputLabel for="dateofbirth"
				value="#{messages['date.of.birth']}"
				styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:inputCalendar id="dateofbirth"
				monthYearRowClass="yearMonthHeader" weekRowClass="weekHeader"
				currentDayCellClass="currentDayCell"
				value="#{adminMemberIndProfileBean.memberIndAcct.dob}" renderAsPopup="true"
				popupTodayString="#{messages['popup.today']}"
				popupWeekString="#{messages['popup.week']}"
				popupDateFormat="dd/MM/yyyy" renderPopupButtonAsImage="true"
				styleClass="standardText">
			</t:inputCalendar>
		</h:panelGroup>

		<h:outputText></h:outputText>
		<t:message for="icpassportno" styleClass="error"></t:message>

		<h:panelGroup>
			<h:outputText value="*" styleClass="standardText_Mandatory" />
			<h:outputLabel for="icpassportno"
				value="#{messages['ic.passport.no']}"
				styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:inputText id="icpassportno" required="true" size="50"
				maxlength="50" styleClass="standardText"
				value="#{adminMemberIndProfileBean.memberIndAcct.newIcNo}">
              <%-- 
				<t:validateRegExpr pattern="\d{6}-\d{2}-\d{4}|\d{12}" />--%>
			</t:inputText>
		</h:panelGroup>

		<h:outputText></h:outputText>
		<t:message for="sex" styleClass="error"></t:message>

		<h:panelGroup>
			<h:outputLabel for="sex" value="#{messages['sex']}"
				styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:selectOneRadio id="sex" styleClass="standardText" value="#{adminMemberIndProfileBean.memberIndAcct.gender}">
				<f:selectItems value="#{adminMemberIndProfileBean.sexSelectList}" />
			</t:selectOneRadio>
		</h:panelGroup>

		<h:outputText></h:outputText>
		<t:message for="maritalstatus" styleClass="error"></t:message>

		<h:panelGroup>
			<h:outputLabel for="maritalstatus"
				value="#{messages['marital.status']}"
				styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:selectOneRadio id="maritalstatus"
				styleClass="standardText"
				value="#{adminMemberIndProfileBean.memberIndAcct.maritalStatus}">
				<f:selectItems value="#{adminMemberIndProfileBean.maritalSelectList}" />
			</t:selectOneRadio>
		</h:panelGroup>

		<h:outputText></h:outputText>
		<t:message for="noOfChild" styleClass="error"></t:message>

		<h:outputLabel value="#{messages['no.of.children']}"
			styleClass="standardText_Label" />
		<h:panelGroup>
			<t:inputText id="noOfChild" size="50" maxlength="50"
				styleClass="standardText" value="#{adminMemberIndProfileBean.memberIndAcct.child}">
			</t:inputText>
		</h:panelGroup>

		<h:outputText></h:outputText>
		<t:message for="race" styleClass="error"></t:message>

		<h:panelGroup>
			<h:outputLabel for="race" value="#{messages['race']}"
				styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:selectOneMenu id="race" styleClass="standardText"
				value="#{adminMemberIndProfileBean.deRaceId}">
				<f:selectItem itemLabel="#{messages['please.select']}"
					itemValue="" />
				<f:selectItems value="#{adminMemberIndProfileBean.raceSelectList}" />
			</t:selectOneMenu>
		</h:panelGroup>

		<h:outputText></h:outputText>
		<t:message for="nationality" styleClass="error"></t:message>

		<h:panelGroup>
			<h:outputLabel for="nationality" value="#{messages['nationality']}"
				styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
		<%-- 
			<t:inputText id="nationality" size="50" styleClass="standardText"
			maxlength="50"
				value="#{adminMemberIndProfileBean.memberIndAcct.nationality}"></t:inputText>--%>
			<t:selectOneMenu id="nationality" styleClass="standardText"
				value="#{adminMemberIndProfileBean.memberIndAcct.nationality}">
				<f:selectItem itemLabel="#{messages['please.select']}"
					itemValue="" />
				<f:selectItems value="#{adminMemberIndProfileBean.selectNationalities}" />
			</t:selectOneMenu>
		</h:panelGroup>
	</t:panelGrid>

	<h:panelGrid width="100%">
		<h:outputText value="#{messages['resident.info']}"
			styleClass="sub_header" />
	</h:panelGrid>

	<t:panelGrid columns="2" columnClasses="standardTable_ColumnLeft_20,standardTable_ColumnLeft_80" width="100%">
	
		<h:outputText></h:outputText>
		<t:message for="Address1" styleClass="error"></t:message>
	
		<h:panelGroup>
			<h:outputText value="*" styleClass="standardText_Mandatory" />
			<h:outputLabel for="Address1"
				value="#{messages['residential.address']}"
				styleClass="standardText_Label" />
		</h:panelGroup>
		
		<t:inputText id="Address1" size="50"  maxlength="50" required="true"
			styleClass="standardText" onchange="this.value=convertText(this.value);"
			value="#{adminMemberIndProfileBean.memberIndAcct.resAddress1}"></t:inputText>
		<h:panelGroup></h:panelGroup>
		
		<h:outputText></h:outputText>
		<t:message for="Address2" styleClass="error"></t:message>
		
		<h:panelGroup>
			<t:inputText id="Address2" size="50" maxlength="50"
				styleClass="standardText" onchange="this.value=convertText(this.value);"
				value="#{adminMemberIndProfileBean.memberIndAcct.resAddress2}"></t:inputText>
		</h:panelGroup>
		
		<h:outputText></h:outputText>
		<t:message for="Postcode" styleClass="error"></t:message>
		
		<h:panelGroup>
			<h:outputText value="*" styleClass="standardText_Mandatory" />
			<h:outputLabel for="Postcode"
				value="#{messages['residential.postcode']}"
				styleClass="standardText_Label" />
		</h:panelGroup>
		<t:inputText id="Postcode" size="50" maxlength="50" required="true"
			styleClass="standardText" 
			value="#{adminMemberIndProfileBean.memberIndAcct.resPostcode}">
			<%--<t:validateRegExpr pattern="\d{5}|\d{4}" />--%>
		</t:inputText>
		
		<h:outputText></h:outputText>
		<t:message for="Country" styleClass="error"></t:message>

		<h:panelGroup>
			<h:outputText value="*" styleClass="standardText_Mandatory" />
			<h:outputLabel for="Country"
				value="#{messages['residential.country']}"
				styleClass="standardText_Label" />
		</h:panelGroup>
		<t:selectOneMenu id="Country" required="true"
			styleClass="standardText" value="#{adminMemberIndProfileBean.deResCountryId}">
			<f:selectItem itemLabel="#{messages['please.select']}" itemValue="" />
			<f:selectItems value="#{adminMemberIndProfileBean.countrySelectList}" />
			<a4j:support event="onclick" reRender="state" ajaxSingle="true" />
		</t:selectOneMenu>
		
		<h:outputText></h:outputText>
		<t:message for="state" styleClass="error"></t:message>

		<h:panelGroup>
			<h:outputText value="*" styleClass="standardText_Mandatory" />
			<h:outputLabel for="state" value="#{messages['residential.state']}"
				styleClass="standardText_Label" />
		</h:panelGroup>
		<t:selectOneMenu id="state" required="true"
			styleClass="standardText"
			value="#{adminMemberIndProfileBean.deResStateId}">
			<f:selectItem itemLabel="#{messages['please.select']}" itemValue="" />
			<f:selectItems value="#{adminMemberIndProfileBean.deResStateSelectList}" />
		</t:selectOneMenu>
		
		<h:outputText></h:outputText>
		<t:message for="City" styleClass="error"></t:message>

		<h:panelGroup>
			<h:outputText value="*" styleClass="standardText_Mandatory" />
		<h:outputLabel for="City" value="#{messages['residential.city']}"
			styleClass="standardText_Label" />
		</h:panelGroup>
		<t:inputText id="City" required="true" size="50" maxlength="50" onchange="this.value=convertText(this.value);"
			styleClass="standardText" value="#{adminMemberIndProfileBean.memberIndAcct.resCity}"></t:inputText>

		<h:outputText></h:outputText>
		<t:message for="Telephone" styleClass="error"></t:message>
		
		<h:outputLabel for="Telephone" value="#{messages['telephone.no']}"
			styleClass="standardText_Label" />
		<t:inputText id="Telephone" required="false" size="50"
			maxlength="50" styleClass="standardText"
			value="#{adminMemberIndProfileBean.memberIndAcct.resTelNo}">
		<%-- 	<t:validateRegExpr pattern="\d{2}-\d{8}|\d{3}-\d{7}|\d{7}" />--%>
		</t:inputText>
		
		<h:outputText></h:outputText>
		<t:message for="Handphone" styleClass="error"></t:message>
		
		<h:outputLabel for="Handphone" value="#{messages['handphone']}"
			styleClass="standardText_Label" />
		<t:inputText id="Handphone" required="false" size="50"
			maxlength="50" styleClass="standardText"
			value="#{adminMemberIndProfileBean.memberIndAcct.hpNo}">
			<%--<t:validateRegExpr pattern="\d{2}-\d{8}|\d{3}-\d{7}|\d{7}" />--%>
		</t:inputText>
	</t:panelGrid>
	
	<h:panelGrid width="100%">
		<h:outputText value="#{messages['company.info']}"
			styleClass="sub_header" />
	</h:panelGrid>
	
	<t:panelGrid id="compInfo" columns="2" columnClasses="standardTable_ColumnLeft_20,standardTable_ColumnLeft_80" width="100%">
		<h:outputText></h:outputText>
		<t:message for="CompanyName" styleClass="error"></t:message>
		
		<h:panelGroup>
			 <h:outputText value="*" styleClass="standardText_Mandatory" rendered="#{adminMemberIndProfileBean.deCompFlag}"/>
			<h:outputLabel for="CompanyName" value="#{messages['company.name']}" styleClass="standardText_Label" />
		</h:panelGroup>
		<t:inputText id="CompanyName" required="#{adminMemberIndProfileBean.deCompFlag}" size="50" maxlength="50" styleClass="standardText" 
		onchange="this.value=convertText(this.value);" value="#{adminMemberIndProfileBean.memberIndAcct.compName}"></t:inputText>
   
		<h:outputText></h:outputText>
		<t:message for="Designation" styleClass="error"></t:message>

	    <h:panelGroup>
		    <h:outputLabel for="Designation" value="#{messages['designation']}" styleClass="standardText_Label" />
	    </h:panelGroup>
	    <h:panelGroup>
	    	<t:inputText id="Designation" size="50" maxlength="50" styleClass="standardText" 
	    	onchange="this.value=convertText(this.value);" value="#{adminMemberIndProfileBean.memberIndAcct.designation}"></t:inputText>
	    </h:panelGroup>
	    
	    <h:outputText></h:outputText>
		<t:message for="GrossAnnualIncome" styleClass="error"></t:message>
	
	    <h:panelGroup>
		    <h:outputLabel for="GrossAnnualIncome" value="#{messages['gross.annual.income']}" styleClass="standardText_Label" />
	    </h:panelGroup>
	    <h:panelGroup>
	    	<t:inputText id="GrossAnnualIncome"  size="50" maxlength="50" styleClass="standardText" value="#{adminMemberIndProfileBean.memberIndAcct.grossAnnIncome}"></t:inputText>
	    </h:panelGroup>
	    
		<h:outputText></h:outputText>
		<t:message for="CompanyAdress1" styleClass="error"></t:message>
		
		<h:panelGroup>
			 <h:outputText value="*" styleClass="standardText_Mandatory" rendered="#{adminMemberIndProfileBean.deCompFlag}"/>
	    	<h:outputLabel for="CompanyAdress1" value="#{messages['company.address']}" styleClass="standardText_Label" />
		</h:panelGroup>
		<t:inputText id="CompanyAdress1" size="50" maxlength="50" required="#{adminMemberIndProfileBean.deCompFlag}" styleClass="standardText" 
		onchange="this.value=convertText(this.value);" value="#{adminMemberIndProfileBean.memberIndAcct.compAddress1}"></t:inputText>
	    
	    <h:outputText></h:outputText>
		<t:message for="CompanyAdress2" styleClass="error"></t:message>
	    
	    <h:panelGroup></h:panelGroup>
	    <h:panelGroup>
	    	<t:inputText id="CompanyAdress2" size="50" maxlength="50" styleClass="standardText" 
	    	onchange="this.value=convertText(this.value);" value="#{adminMemberIndProfileBean.memberIndAcct.compAddress2}"></t:inputText>
	    </h:panelGroup>
	    
	    <h:outputText></h:outputText>
		<t:message for="CompanyPostcode" styleClass="error"></t:message>
	    
	    <h:panelGroup>
			 <h:outputText value="*" styleClass="standardText_Mandatory" rendered="#{adminMemberIndProfileBean.deCompFlag}"/>
	    	<h:outputLabel for="CompanyPostcode" value="#{messages['company.postcode']}" styleClass="standardText_Label" />
	    </h:panelGroup>
    	<t:inputText id="CompanyPostcode" size="50" maxlength="50" required="#{adminMemberIndProfileBean.deCompFlag}" styleClass="standardText" value="#{adminMemberIndProfileBean.memberIndAcct.compPostcode}">
    		<%--<t:validateRegExpr pattern="\d{5}|\d{4}"/>
    	</t:inputText>
	    	
	    <h:outputText></h:outputText>
		<t:message for="CompanyCountry" styleClass="error"></t:message>
	    
	    <h:panelGroup>
			 <h:outputText value="*" styleClass="standardText_Mandatory" rendered="#{adminMemberIndProfileBean.deCompFlag}"/>
	    <h:outputLabel for="CompanyCountry" value="#{messages['company.country']}" styleClass="standardText_Label" />
	    </h:panelGroup>
    	<t:selectOneMenu id="CompanyCountry" required="#{adminMemberIndProfileBean.deCompFlag}"  styleClass="standardText" value="#{adminMemberIndProfileBean.deCompCountryId}">
    		<f:selectItem  itemLabel="#{messages['please.select']}" itemValue=""/>
    		<f:selectItems value="#{adminMemberIndProfileBean.countrySelectList}"/>
    		<a4j:support event="onclick" reRender="CompanyState" ajaxSingle="true"/>
    	</t:selectOneMenu>
    	
    	<h:outputText></h:outputText>
		<t:message for="CompanyState" styleClass="error"></t:message>
	    
	    <h:panelGroup>
			 <h:outputText value="*" styleClass="standardText_Mandatory" rendered="#{adminMemberIndProfileBean.deCompFlag}"/>
	   		<h:outputLabel for="CompanyState" value="#{messages['company.state']}" styleClass="standardText_Label" />
	    </h:panelGroup>
    	<t:selectOneMenu id="CompanyState" required="#{adminMemberIndProfileBean.deCompFlag}"  styleClass="standardText" value="#{adminMemberIndProfileBean.deCompStateId}">
    		<f:selectItem  itemLabel="#{messages['please.select']}" itemValue=""/>
    		<f:selectItems value="#{adminMemberIndProfileBean.deCompStateSelectList}"/>
    	</t:selectOneMenu>
    	
    	<h:outputText></h:outputText>
		<t:message for="CompanyCity" styleClass="error"></t:message>
	    
	    <h:panelGroup>
			 <h:outputText value="*" styleClass="standardText_Mandatory" rendered="#{adminMemberIndProfileBean.deCompFlag}"/>		
	    	<h:outputLabel for="CompanyCity" value="#{messages['company.city']}" styleClass="standardText_Label" />
	    </h:panelGroup>
        <t:inputText id="CompanyCity" required="#{adminMemberIndProfileBean.deCompFlag}" size="50" maxlength="50" styleClass="standardText" 
        onchange="this.value=convertText(this.value);" value="#{adminMemberIndProfileBean.memberIndAcct.compCity}"></t:inputText>
	    
	    <h:outputText></h:outputText>
		<t:message for="TelephoneNoOffice" styleClass="error"></t:message>
	    
	    <h:outputLabel for="TelephoneNoOffice" value="#{messages['telephone.no']}" styleClass="standardText_Label" />
    	<t:inputText id="TelephoneNoOffice" required="false" size="50" maxlength="50" styleClass="standardText" value="#{adminMemberIndProfileBean.memberIndAcct.compTelNo}">
    		<%--<t:validateRegExpr pattern="\d{2}-\d{8}"/>--%>
    	</t:inputText>
	    
	    <h:outputText></h:outputText>
		<t:message for="FaxNoOffice" styleClass="error"></t:message>	
	    
	    <h:outputLabel for="FaxNoOffice" value="#{messages['fax.no']}" styleClass="standardText_Label" />
    	<t:inputText id="FaxNoOffice" required="false" size="50" maxlength="50" styleClass="standardText" value="#{adminMemberIndProfileBean.memberIndAcct.compFaxNo}">
    		<%--<t:validateRegExpr pattern="\d{2}-\d{8}"/>--%>
    	</t:inputText>
	</t:panelGrid>
	
	<h:panelGrid width="100%">
		<h:outputText value="#{messages['mailing.info']}"
			styleClass="sub_header" />
	</h:panelGrid>
	
	<t:panelGrid id="mailInfo" columns="2" columnClasses="standardTable_ColumnLeft_20,standardTable_ColumnLeft_80" width="100%">
	
		<h:outputText></h:outputText>
		<t:message for="MailBy" styleClass="error"></t:message>
		
		<h:panelGroup>
			<h:outputText value="*" styleClass="standardText_Mandatory" />
			<h:outputLabel for="MailBy" value="#{messages['mail.by']}"
				styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:selectOneRadio id="MailBy" styleClass="standardText" value="#{adminMemberIndProfileBean.deMailSelect}">
				<f:selectItems value="#{adminMemberIndProfileBean.mailSelectList}" />
				<a4j:support event="onclick" reRender="mailInfo,compInfo" ajaxSingle="true"/>
			</t:selectOneRadio>
		</h:panelGroup>
		
		<h:outputText></h:outputText>
		<t:message for="MailAddress1" styleClass="error"></t:message>
		
		<h:panelGroup>
			<h:outputText value="*" styleClass="standardText_Mandatory" />
			<h:outputLabel for="MailAddress1" value="#{messages['mail.address']}" styleClass="standardText_Label" />
		</h:panelGroup>
		<t:inputText id="MailAddress1" size="50" readonly="#{adminMemberIndProfileBean.deMailFlag}" maxlength="50" required="true" styleClass="standardText" 
	    onchange="this.value=convertText(this.value);" value="#{adminMemberIndProfileBean.memberIndAcct.mailAddress1}"></t:inputText>
	     
	    <h:outputText></h:outputText>
		<t:message for="MailAddress2" styleClass="error"></t:message>
	     
	    <h:panelGroup></h:panelGroup>
	    <h:panelGroup>
	    	<t:inputText id="MailAddress2" readonly="#{adminMemberIndProfileBean.deMailFlag}" size="50" maxlength="50" styleClass="standardText" 
	    	onchange="this.value=convertText(this.value);" value="#{adminMemberIndProfileBean.memberIndAcct.mailAddress2}"></t:inputText>
	    </h:panelGroup>
	    
	    <h:outputText></h:outputText>
		<t:message for="MailPostcode" styleClass="error"></t:message>
	    
	    <h:panelGroup>
			<h:outputText value="*" styleClass="standardText_Mandatory" />
			<h:outputLabel for="MailPostcode" value="#{messages['mail.postcode']}" styleClass="standardText_Label" />
		</h:panelGroup>
	    <t:inputText id="MailPostcode" readonly="#{adminMemberIndProfileBean.deMailFlag}" size="50" maxlength="50" required="true" styleClass="standardText" value="#{adminMemberIndProfileBean.memberIndAcct.mailPostcode}">
	    		<%--<t:validateRegExpr pattern="\d{5}|\d{4}"/>--%>
	    </t:inputText>
	    
	     <h:panelGroup>
			 <h:outputText value="*" styleClass="standardText_Mandatory" />
			 <h:outputLabel for="MailCity" value="#{messages['mail.city']}" styleClass="standardText_Label" />
		</h:panelGroup>	
		<t:inputText readonly="#{adminMemberIndProfileBean.deMailFlag}" id="MailCity" required="true" size="50" maxlength="50" styleClass="standardText" 
		onchange="this.value=convertText(this.value);" value="#{adminMemberIndProfileBean.memberIndAcct.mailCity}"></t:inputText>
	    	
	    <h:outputText></h:outputText>
		<t:message for="MailCountry" styleClass="error"></t:message>
	    
	     <h:panelGroup>
			 <h:outputText value="*" styleClass="standardText_Mandatory" />
			 <h:outputLabel for="MailCountry" value="#{messages['mail.country']}" styleClass="standardText_Label" />
		</h:panelGroup>
    	<t:selectOneMenu readonly="#{adminMemberIndProfileBean.deMailFlag}" id="MailCountry" required="true"  styleClass="standardText" value="#{adminMemberIndProfileBean.deMailCountryId}">
    		<f:selectItem  itemLabel="#{messages['please.select']}" itemValue=""/>
    		<f:selectItems value="#{adminMemberIndProfileBean.countrySelectList}"/>
    		<a4j:support event="onclick" reRender="MailState" ajaxSingle="true"/>
    	</t:selectOneMenu>
	    
	    <h:outputText></h:outputText>
		<t:message for="MailState" styleClass="error"></t:message>
	    
	    <h:panelGroup>
			 <h:outputText value="*" styleClass="standardText_Mandatory" />
			 <h:outputLabel for="MailState" value="#{messages['mail.state']}" styleClass="standardText_Label" />
		</h:panelGroup>
    	<t:selectOneMenu readonly="#{adminMemberIndProfileBean.deMailFlag}" id="MailState" required="true"  styleClass="standardText" value="#{adminMemberIndProfileBean.deMailStateId}">
    		<f:selectItem  itemLabel="#{messages['please.select']}" itemValue=""/>
    		<f:selectItems value="#{adminMemberIndProfileBean.deMailStateSelectList}"/>
    	</t:selectOneMenu>
	    
	    <h:outputText></h:outputText>
		<t:message for="MailCity" styleClass="error"></t:message>
	    
	   
	</t:panelGrid>
	
	<rich:spacer height="30"></rich:spacer>
	
	<t:panelGrid columns="2" columnClasses="standardTable_ColumnLeft_20,standardTable_ColumnLeft_80" width="100%">
		<t:outputText></t:outputText>
		<t:panelGroup>
		 	<h:commandButton value="#{messages['back']}" styleClass="button" action="#{adminMemberIndProfileBean.navBackAction}" immediate="true"></h:commandButton>
		 	<f:verbatim>&nbsp;</f:verbatim>
   			<h:commandButton value="#{messages['update']}" styleClass="button" action="#{adminMemberIndProfileBean.updateDependantAction}"></h:commandButton>
   		</t:panelGroup>
	</t:panelGrid>
	
</rich:panel>
